Skip to content

[3.11] gh-110393: Remove watchdog with hardcoded timeout (GH-110400)#110444

Merged
vstinner merged 1 commit into
python:3.11from
miss-islington:backport-1328fa3-3.11
Oct 5, 2023
Merged

[3.11] gh-110393: Remove watchdog with hardcoded timeout (GH-110400)#110444
vstinner merged 1 commit into
python:3.11from
miss-islington:backport-1328fa3-3.11

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 5, 2023

Copy link
Copy Markdown
Contributor

test_builtin and test_socketserver no longer use signal.alarm() to
implement a watchdog with a hardcoded timeout (2 and 60 seconds).
Python test runner regrtest has two watchdogs: faulthandler and
timeout on running worker processes. Tests using short hardcoded
timeout can fail on slowest buildbots just because the timeout is too
short.
(cherry picked from commit 1328fa3)

Co-authored-by: Victor Stinner vstinner@python.org

)

test_builtin and test_socketserver no longer use signal.alarm() to
implement a watchdog with a hardcoded timeout (2 and 60 seconds).
Python test runner regrtest has two watchdogs: faulthandler and
timeout on running worker processes. Tests using short hardcoded
timeout can fail on slowest buildbots just because the timeout is too
short.
(cherry picked from commit 1328fa3)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants